<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
        <script type="text/javascript" language="javascript" src="<?php echo(base_url('jquery.js')); ?>"></script>
        <meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' />


        <meta name="viewport" content="width=device-width" />
        <link rel="stylesheet" type="text/css" href="<?php echo(base_url('css/default.css')); ?>" />
        
        <!--    Add to Home screen    -->
        <link rel="stylesheet" href="<?php echo(base_url('css/add2home.css')); ?>" />
        <script type="text/javascript">
	var addToHomeConfig = {
	touchIcon:true
	};
	</script>
        <script type="application/javascript" src="<?php echo(base_url('add2home.js')); ?>"></script>
         
        <!--   BsApp icon     -->
        <link rel="apple-touch-icon-precomposed" href="<?php echo(base_url('images/iphone-icon.png')); ?>"/>        
              
        <!--    satus bar color black    -->
        <meta name="apple-mobile-web-app-status-bar-style" content="black" /> 
        
        <title>begrotingsscan</title>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <div id="header-logo"><div id="innergo"></div></div>
                <div id="draadmodel"></div>
                
                <div id="menu">
                    <?php
                    $this->load->view('include/menu');
                    ?>
                </div>
            </div>
            <div id="content">
                
                <?php
                
                if ($this->session->userdata('user') !== FALSE) {
                    $this->load->view($page);
                    
                } else {


                    $this->load->view('include/login');
                }

                if (!empty($errormsg)) {
                    echo('<span style=color:red;>' . $errormsg . '</span>');
                }
                ?>
                <div class="clr" style="clear:both; height:70px;"></div> 
                
       


        </div>

        <div id="footer"><div id="footer-text">©2012 begrotingsscan</div>
            <?php
            if ($this->session->userdata('user') == FALSE) {
                ?>
               
                    <a  class="footer-link" href="http://begrotingsscan.nl/account-aanvragen.html" target="_blank"><button class="registerbutton"></button></a>
               
                <?php
            } else {
                ?>
            <a  class="footer-link" href="<?php echo(base_url("handleiding")); ?>" ><button class="helpbutton"></button></a>
                <?php
            }
            ?>
        </div>
    </body>
</html>